package com.lc.baseres.dagger.component;

import android.app.Application;

import com.lc.baselib.net.manager.IRepositoryManager;
import com.lc.baseres.dagger.module.AppModule;
import com.lc.baseres.dagger.module.ClientModule;

import javax.inject.Singleton;

import dagger.Component;
import dagger.Module;
import okhttp3.OkHttpClient;

/**
 * @author LiuChao
 * @describe
 * @date 2018/6/25
 * @contact email:450127106@qq.com
 */
@Singleton
@Component(modules = {AppModule.class, ClientModule.class})
public interface AppComponent {
    Application application();

    IRepositoryManager repositoryManager();

    OkHttpClient okHttpClient();

    void inject(Application application);
}
